<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head >
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- th:replace="~{common/public::common-public}" -->
              <link th:href="@{/web/css/header.css}" rel="stylesheet">
        <link th:href="@{/web/css/managermain.css}" rel="stylesheet">
        <link th:href="@{/web/css/courseTable.css}" rel="stylesheet">
      <script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<title>Insert title here</title>
    <meta charset="utf-8">
    <link th:href="@{/web/css/add-lesson.css}" rel="stylesheet">
</head>
<body>
<div class="header" th:insert="~{common/kuangjia::header}"></div>
<div class="diceng">
		<div class="caidan">
			<ul>
				<li><a th:href="@{/manong//managermain}">首页</a></li>
				<li><a th:href="@{/manong/getAllCourse}">选课系统</a></li>
				<li><a th:href="@{/manong/gradeManager}">成绩管理</a></li>
				<li><a th:href="@{/manong/active}">活动公告</a></li>
				<li><a th:href="@{/manong/message}">消息中心</a></li>
				<li><a th:href="@{/manong/exit}">退出登录</a></li>
			</ul>
		</div>
		<div class="main">
    <form th:action="@{/manong/gotoUpdate}" method="post">
        <label>课程号:</label>
        <input type="text" name="cno" th:placeholder="${lesson.cno}" required><br>

        <label>课程名称:</label>
        <input type="text" name="course" th:placeholder="${lesson.course}" required><br>

        <label>授课教师:</label>
        <input type="text" name="teacher" th:placeholder="${lesson.teacher}" required><br>

        <label>上课年级:</label>
        <input type="text" name="year" th:placeholder="${lesson.year}" required><br>

        <label>上课时间:</label>
        <input type="text" name="jieci" th:placeholder="${lesson.jieci}" required><br>

        <label>授课教室:</label>
        <input type="text" name="classroom" th:placeholder="${lesson.classroom}" required><br>

        <label>星期:</label>
        <input type="text" name="week" th:placeholder="${lesson.week}" required><br>

        <label>专业:</label>
        <input type="text" name="speciality" th:placeholder="${lesson.speciality}" required><br>

        <label>学分:</label>
        <input type="text" name="credit" th:placeholder="${lesson.credit}" required><br>

        <input type="submit" name="submit" value="修改" onclick="return confirm('确定要修改吗')">
    </form>

    <p th:if="${msg}" th:text="${msg}"></p>
    </div>
    </div>
    
</body>
</html>


